<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>FloatMenu</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script>  </head>
  <body>
    <div id="container">
      <div id="leftColumn"><a href="../../../index.html">
          <div id="logo"></div>
        </a>
        <div id="paneSearch"></div>
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script>        <div class="main-content" id="content" pageIds="Engine::com.drake.engine.widget/FloatMenu///PointingToDeclaration//-1683276876">
          <div class="navigation-wrapper" id="navigation-wrapper">
            <div class="breadcrumbs"><a href="../../../index.html">Engine</a>/<a href="../index.html">com.drake.engine.widget</a>/<a href="index.html">FloatMenu</a></div>
            <div class="pull-right d-flex">
              <div id="searchBar"></div>
            </div>
          </div>
          <div class="cover ">
            <h1 class="cover"><span>Float</span><wbr></wbr><span>Menu</span></h1>
            <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">class <a href="index.html">FloatMenu</a>&lt;<a href="index.html">T</a>&gt;(context: <a href="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a>, anchor: <a href="https://developer.android.com/reference/kotlin/android/view/View.html">View</a>?) : <a href="https://developer.android.com/reference/kotlin/android/widget/PopupWindow.html">PopupWindow</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">在按下位置附近弹出菜单, 弥补PopupMenu不足</p><p class="paragraph">在此项目基础上修改 https://github.com/JavaNoober/FloatMenu</p></div></div>
          </div>
          <div class="tabbedcontent">
            <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button><button class="section-tab" data-togglable="Parameters">Parameters</button></div>
            <div class="tabs-section-body">
              <h2 class="">Parameters</h2>
              <div data-togglable="Parameters">
                <div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">anchor</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">由指定视图触发的点击事件. 用于获取当前手指点击坐标. 假设为RecyclerView则会自动根据Item来获取坐标 假设anchor无法确定, 可以在<a href="show.html">show</a>函数中指定坐标参数</p></div></div></div></div></div><div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">T</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">用于<a href="show.html">show</a>传递指定类型的对象给点击事件</p></div></div></div></div></div></div></div></div></div>
              </div>
              <h2 class="tabbedcontent">Constructors</h2>
              <div class="table" data-togglable="Constructors"><a data-name="-1987506997%2FConstructors%2F-1683276876" anchor-label="FloatMenu" id="-1987506997%2FConstructors%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue TabbedContent">
                    <div class=""><span class="inline-flex"><a href="-float-menu.html">FloatMenu</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1987506997%2FConstructors%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">fun <a href="-float-menu.html">FloatMenu</a>(context: <a href="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a>, anchor: <a href="https://developer.android.com/reference/kotlin/android/view/View.html">View</a>? = null)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief ">由指定视图触发的点击事件.</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <h2 class="">Types</h2>
              <div class="table" data-togglable="Types"><a data-name="-503549761%2FClasslikes%2F-1683276876" anchor-label="MenuItem" id="-503549761%2FClasslikes%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-menu-item/index.html">MenuItem</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-503549761%2FClasslikes%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">data class <a href="-menu-item/index.html">MenuItem</a>&lt;<a href="-menu-item/index.html">T</a>&gt;(title: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, iconRes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onClick: <a href="https://developer.android.com/reference/kotlin/androidx/core/util/Consumer.html">Consumer</a>&lt;<a href="-menu-item/index.html">T</a>&gt;?)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-503549761%2FClasslikes%2F-1683276876" anchor-label="MenuItem" id="-503549761%2FClasslikes%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-503549761%2FClasslikes%2F-1683276876" anchor-label="MenuItem" id="-503549761%2FClasslikes%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>菜单列表</div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
              <h2 class="">Functions</h2>
              <div class="table" data-togglable="Functions"><a data-name="890014499%2FFunctions%2F-1683276876" anchor-label="addItem" id="890014499%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="add-item.html">addItem</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="890014499%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">fun <a href="add-item.html">addItem</a>(title: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, <span>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/DrawableRes.html">DrawableRes</a>() </span>iconRes: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = -1, onClick: <a href="https://developer.android.com/reference/kotlin/androidx/core/util/Consumer.html">Consumer</a>&lt;<a href="index.html">T</a>&gt;? = null): <a href="index.html">FloatMenu</a>&lt;<a href="index.html">T</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="890014499%2FFunctions%2F-1683276876" anchor-label="addItem" id="890014499%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="890014499%2FFunctions%2F-1683276876" anchor-label="addItem" id="890014499%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>添加菜单选项</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1289826359%2FFunctions%2F-1683276876" anchor-label="setAnchor" id="1289826359%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="set-anchor.html">setAnchor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1289826359%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">fun <a href="set-anchor.html">setAnchor</a>(anchor: <a href="https://developer.android.com/reference/kotlin/android/view/View.html">View</a>?): <a href="index.html">FloatMenu</a>&lt;<a href="index.html">T</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1289826359%2FFunctions%2F-1683276876" anchor-label="setAnchor" id="1289826359%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1289826359%2FFunctions%2F-1683276876" anchor-label="setAnchor" id="1289826359%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>设置附着的视图, 用于获取点击坐标</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1720793092%2FFunctions%2F-1683276876" anchor-label="show" id="1720793092%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="show.html">show</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1720793092%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace"><div class="block"><div class="block">@<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-overloads/index.html">JvmOverloads</a>()</div></div>fun <a href="show.html">show</a>(tag: <a href="index.html">T</a>? = null, touchX: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = this.touchX, touchY: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = this.touchY)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1720793092%2FFunctions%2F-1683276876" anchor-label="show" id="1720793092%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1720793092%2FFunctions%2F-1683276876" anchor-label="show" id="1720793092%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>显示浮动菜单</div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
              <h2 class="">Properties</h2>
              <div class="table" data-togglable="Properties"><a data-name="-751933945%2FProperties%2F-1683276876" anchor-label="anchor" id="-751933945%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="anchor.html">anchor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-751933945%2FProperties%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><a data-name="-751933945%2FProperties%2F-1683276876" anchor-label="anchor" id="-751933945%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="symbol monospace">var <a href="anchor.html">anchor</a>: <a href="https://developer.android.com/reference/kotlin/android/view/View.html">View</a>? = null<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-751933945%2FProperties%2F-1683276876" anchor-label="anchor" id="-751933945%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>由指定视图触发的点击事件.</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="-33403537%2FProperties%2F-1683276876" anchor-label="context" id="-33403537%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="context.html">context</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-33403537%2FProperties%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><a data-name="-33403537%2FProperties%2F-1683276876" anchor-label="context" id="-33403537%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="symbol monospace">val <a href="context.html">context</a>: <a href="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="-1902693968%2FProperties%2F-1683276876" anchor-label="gravity" id="-1902693968%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="gravity.html">gravity</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1902693968%2FProperties%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><a data-name="-1902693968%2FProperties%2F-1683276876" anchor-label="gravity" id="-1902693968%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="symbol monospace">var <a href="gravity.html">gravity</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-1902693968%2FProperties%2F-1683276876" anchor-label="gravity" id="-1902693968%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>菜单距离附着视图的对齐方式</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="676772470%2FProperties%2F-1683276876" anchor-label="itemResId" id="676772470%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="item-res-id.html">itemResId</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="676772470%2FProperties%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><a data-name="676772470%2FProperties%2F-1683276876" anchor-label="itemResId" id="676772470%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="symbol monospace">var <a href="item-res-id.html">itemResId</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="676772470%2FProperties%2F-1683276876" anchor-label="itemResId" id="676772470%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>指定菜单选项布局, 通过在自己的项目中复写同名文件可以实现全局替换</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="-130446146%2FProperties%2F-1683276876" anchor-label="items" id="-130446146%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="items.html">items</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-130446146%2FProperties%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><a data-name="-130446146%2FProperties%2F-1683276876" anchor-label="items" id="-130446146%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="symbol monospace">var <a href="items.html">items</a>: <a href="https://developer.android.com/reference/kotlin/java/util/ArrayList.html">ArrayList</a>&lt;<a href="-menu-item/index.html">FloatMenu.MenuItem</a>&lt;<a href="index.html">T</a>&gt;&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-130446146%2FProperties%2F-1683276876" anchor-label="items" id="-130446146%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>菜单列表</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="1963478163%2FProperties%2F-1683276876" anchor-label="verticalOffset" id="1963478163%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="vertical-offset.html">verticalOffset</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1963478163%2FProperties%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><a data-name="1963478163%2FProperties%2F-1683276876" anchor-label="verticalOffset" id="1963478163%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="symbol monospace">var <a href="vertical-offset.html">verticalOffset</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="1963478163%2FProperties%2F-1683276876" anchor-label="verticalOffset" id="1963478163%2FProperties%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>菜单距离附着的视图垂直偏移量</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
      </div>
    </div>
  </body>
</html>

